﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HttpClientHelper
{
    public interface IHttpClients
    {
        Task<T?> GetAsync<T>(string url, Dictionary<string, string> dicHeaders, int timeoutSecond = 180);
        Task<T> PostAsync<T>(string url, string requestBody, Dictionary<string, string> dicHeaders, int timeoutSecond = 180);
    }
}
